const { Sequelize } = require('sequelize');
const path = require('path');
const config = require('./db');

const sequelize = new Sequelize({
  dialect: 'sqlite',
  storage: path.join(__dirname, '../database/test.db'),
  logging: console.log
});

module.exports = {
  sequelize,
  Sequelize
};